package com.dzj.exam.service;

import com.dzj.exam.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;


import java.util.List;

/**
 * 轮播图服务接口
 */
public interface BannerService extends IService<Banner> {

    String uploadImage(MultipartFile file) throws Exception;

    void addBanner(Banner banner);
}